package com.yunhai.model.entity.tms;

import com.baomidou.mybatisplus.annotation.*;
import com.yunhai.model.base.BaseEntity;
import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 门店基础实体
 * 
 * @author mengze
 * @date 2025-05-13 19:36:54
 */
@Data
@TableName("tms_store")
@ApiModel("门店信息实体")
public class TmsStoreEntity extends BaseEntity {

	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty("主键ID")
	private Long id;

	@ApiModelProperty("门店名称")
	private String name;

	@ApiModelProperty("门店归属人")
	private Long userId;

	@ApiModelProperty("门店编号")
	private String number;

	@TableField("store_group_id")
	@ApiModelProperty("门店区域ID")
	private Long storeGroupId;

	@TableField("store_group_name")
	@ApiModelProperty("门店区域名称")
	private String storeGroupName;

	@TableField("store_category_id")
	@ApiModelProperty("门店分类ID")
	private Long storeCategoryId;

	@TableField("store_category_name")
	@ApiModelProperty("门店分类名称")
	private String storeCategoryName;

	@ApiModelProperty("是否启用(0-禁用 1-启用)")
	private Integer enabled;

	@TableField("is_closed")
	@ApiModelProperty("是否关闭营业(0-营业中，1-歇业中，2-已闭店，3-选址中， 4-筹建中， 5-已退单)")
	private Integer isClosed;

	@TableField("short_name")
	@ApiModelProperty("门店短名称")
	private String shortName;

	@ApiModelProperty("备注信息")
	private String mark;

	@TableField("out_store_id")
	@ApiModelProperty("外部门店id")
	private String outStoreId;

	@TableField("out_store_number")
	@ApiModelProperty("外部门店编号")
	private String outStoreNumber;

	@ApiModelProperty("省份ID")
	private Integer provinceId;

	@ApiModelProperty("省份名称")
	private String provinceName;

	@ApiModelProperty("城市ID")
	private Integer cityId;

	@ApiModelProperty("城市名称")
	private String cityName;

	@ApiModelProperty("区域ID")
	private Integer areaId;

	@ApiModelProperty("区域名称")
	private String areaName;

	@ApiModelProperty("详细地址")
	private String address;

	@ApiModelProperty("主管")
	private String manager;

	@ApiModelProperty("督导")
	private String supervision;

	@ApiModelProperty("首页开业时间")
	private String firstOpenDate;

	@ApiModelProperty("最近一次开业时间")
	private String lastOpenDate;

	@ApiModelProperty("闭店时间")
	private String closeDate;

}
